using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SiteECSWeb;
using System.ComponentModel;
/// <summary>
/// Summary description for CityInfo
/// </summary>
namespace SiteECSWeb
{
    public class OfficeInfo
    {
        #region Constructor
        public OfficeInfo()
        {

        }
        public OfficeInfo(int officeID, string name, string nameEn, string tel, string fax, string email)
        {
            _officeID = officeID;
            _name = name;
            _nameEn = nameEn;
            _tel = tel;
            _fax = fax;
            _email = email;
        }
        public OfficeInfo(int officeID,string name, string nameEn, string tel, string fax, string email,
            string headOff, string headOffMob)
        {
            _officeID = officeID;
            _name = name;
            _nameEn = nameEn;
            _tel = tel;
            _fax = fax;
            _email = email;
            _headOfficer = headOff;
            _headOffMob = headOffMob;
        }
        public OfficeInfo(int officeID,string name, string nameEn, string tel, string fax, string email,
            string smallflagPath, string headOff, string headOffMob)
        {
            _officeID = officeID;
            _name = name;
            _nameEn = nameEn;
            _tel = tel;
            _fax = fax;
            _email = email;
            _smallFlagPath = smallflagPath;
            _headOfficer = headOff;
            _headOffMob = headOffMob;
        }
        public OfficeInfo(int officeID, string name, string nameEn, string tel, string fax, string email,
           string smallflagPath, string headOff, string headOffMob, 
           int ecsInternalID,string ecsInternalName)
        {
            _officeID = officeID;
            _name = name;
            _nameEn = nameEn;
            _tel = tel;
            _fax = fax;
            _email = email;
            _smallFlagPath = smallflagPath;
            _headOfficer = headOff;
            _headOffMob = headOffMob;
            _ecsInternalID = ecsInternalID;
            _ecsInternalName = ecsInternalName;
        }
        #endregion
       
        #region OfficeProperties

        private int _officeID;
        [DataObjectField(true)]
        public int OfficeID
        {
            get { return _officeID; }
            set { _officeID = value; }
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        private string _nameEn;

        public string NameEn
        {
            get { return _nameEn; }
            set { _nameEn = value; }
        }
        private string _tel;

        public string Tel
        {
            get { return _tel; }
            set { _tel = value; }
        }

        private string _fax;

        public string Fax
        {
            get { return _fax; }
            set { _fax = value; }
        }
        private string _email;

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _smallFlagPath;

        public string SmallFlagPath
        {
            get { return _smallFlagPath; }
            set { _smallFlagPath = value; }
        }

        private string _headOfficer;

        public string HeadOfficer
        {
            get { return _headOfficer; }
            set { _headOfficer = value; }
        }

        private string _headOffMob;

        public string HeadOffMob
        {
            get { return _headOffMob; }
            set { _headOffMob = value; }
        }
        private int _ecsInternalID;

        public int EcsInternalID
        {
            get { return _ecsInternalID; }
            set { _ecsInternalID = value; }
        }
        private string _ecsInternalName;

        public string EcsInternalName
        {
            get { return _ecsInternalName; }
            set { _ecsInternalName = value; }
        }


        private string _timeNow;

        public string TimeNow
        {
            get { return _timeNow; }
            set { _timeNow = value; }
        }

        private string _currency;

        public string Currency
        {
            get { return _currency; }
            set { _currency = value; }
        }

        #endregion
        
        //private string _officeID;

        //[DataObjectField(true)]
        //public string OfficeID
        //{
        //    get { return _officeID; }
        //    set { _officeID = value; }
        //}
    }
}

